#pragma once

#include <stdbool.h>
#include <stddef.h>

typedef struct {
    size_t building_id;
    size_t hostel_num;
    bool is_male;
} Building;

void register_building(size_t building_id, size_t hostel_num, bool is_male);
int unregister_building(size_t building_id);
int edit_building(size_t building_id, size_t hostel_num, bool is_male);
void list_buildings(void);
Building* get_building(size_t building_id);
void init_building_module(void);
void print_vacant_hostels(void);
